package com.flyco.modules.attendance.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 员工日考勤表
 * @Author: flyco
 * @Date:   2022-11-02
 * @Version: V1.0
 */
@Data
@TableName("ums_day_attendance")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ums_day_attendance对象", description="员工日考勤表")
public class UmsDayAttendance {
    
	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private Long id;
	/**商家id*/
	@ApiModelProperty(value = "商家id")
	private Long partnerId;
	/**门店id*/
    @ApiModelProperty(value = "门店id")
	private Long storeId;

	/**用户名*/
	@Excel(name = "姓名", width = 15)
	@ApiModelProperty(value = "用户名")
	private String userName;

	@Excel(name = "店铺", width = 15)
	private String storeName;

	@Excel(name = "岗位", width = 20)
	@ApiModelProperty(value = "岗位")
	private String title;

	/**用户id*/
    @ApiModelProperty(value = "用户id")
	private Long userId;

	/**日期*/
	@Excel(name = "日期", width = 20, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "日期")
	private Date date;
	@Excel(name = "星期", width = 15)
	@ApiModelProperty(value = "星期")
	private String week;

	/**上班打卡id*/
    @ApiModelProperty(value = "上班打卡id")
	private Long checkinoutStartId;

	/**上班*/
	@Excel(name = "上班", width = 15)
    @ApiModelProperty(value = "上班")
	private String periodStart;

	/**下班打卡id*/
    @ApiModelProperty(value = "下班打卡id")
	private Long checkinoutEndId;
	/**下班*/
	@Excel(name = "下班", width = 15)
    @ApiModelProperty(value = "下班")
	private String periodEnd;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private Date updateTime;



}
